﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Http;
using System.Web.Http;
using System.Net;

namespace BartonExtension
{
    public static class HttpRequestMessageExtension
    {
        public static string GetParam(this HttpRequestMessage message,string key)
        {
            return message.RequestUri.ParseQueryString().Get(key);
        }
    }
}
